PrintCharTest.asm
Language: 8080 Assembly
Last Modified: 2022-11-12 4:27:45 PM UTC
File Size: 568 bytes
Last Modified: 2022-11-12 4:27:45 PM UTC
File Size: 568 bytes
http://www.penguinstew.ca/example/AltairHexDump/PrintCharTest.asm
.org 0
LXI SP, 173000Q ; 000000: 061 000 366 Init stack pointer
MVI A, 3Q ; 000003: 076 003 Clear/Init 2SIO port
OUT 20Q ; 000005: 323 020
MVI A, 25Q ; 000007: 076 025
OUT 20Q ; 000011: 323 020
MVI A, 0Q ; 000013: 076 000 Init Character to 0
LOOP: CALL PrintChar ; 000015: 315 206 366 Print Character
INR A ; 000020: 074 Increment Character
JMP LOOP ; 000021: 303 015 000
1
2
3
4
5
6
7
8
9
10